#include "nodemenuaction.h"
#include <QAction>
NodeMenuAction::NodeMenuAction(QObject *parent) :
    QAction(parent)
{
}
NodeMenuAction::NodeMenuAction(const QIcon &icon, const QString &text, QObject *parent): QAction(
        icon, text, parent) {}
void NodeMenuAction::mousePressEvent(QMouseEvent *ev)
{
    if (ev->button() == Qt::LeftButton)
    {
        emit clicked();
    }
}
void NodeMenuAction::showDialog()
{
}
